home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DOpus Plus
/
DOpus Plus.iso
/
Tutorial
/
ARexx Tutorial
/
TuteRexx
/
DOpusVersion.dopus5
< prev
next >
Wrap
Text File
|
1998-09-25
|
527b
|
15 lines
/* DOpus version test */
options results
address 'DOPUS.1'
dopus version /* Ask for version information */
text = "Your DOpus version is: "result /* Format result into string */
dopus request '"'text'" OK' /* Output to a requester */
dopus version
newopus = result ~= 'RESULT' & translate(result,'.',' ') ~< 5.1215
if newopus then
text = 'You can use the ''lister request'' command.'
else
text = 'You can''t use the ''lister request'' command.'
dopus request '"'text'" OK'
exit